package com.hushui.mall.commodity.feign;


import com.hushui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "studyMall-coupon")
public interface SeckillFeignService {

    /**
     * 根据skuId查询商品是否参加秒杀活动
     * @param skuId
     * @return
     */

    @GetMapping("coupon/seckillsession/seckill/{skuId}")
    R getSeckillSkuInfo(@PathVariable("skuId") Long skuId);

}
